global da grp REF PV CV PID TANQUE1;

% out = opcserverinfo('localhost');
% out.ServerID
da=opcda('localhost','Intellution.HS1OPC');
connect(da);
grp=addgroup(da,'opc');
% % set(grp,'UpdateRate',1);
REF=additem(grp,'dv0:D3');
PV=additem(grp,'dv0:D2');
CV=additem(grp,'dv0:D4');
TANQUE1=additem(grp,'dv0:D5');
% PID=additem(grp,'[dde]B3:0/0');
% 
% % Ativar no ladder o pid
% write(PID,1);
